Requires an access token with the
orders:write scope. See
Token to obtain a token.
Unpaid tenders are voided, so
payment_status becomes CANCELLED. Captured tenders are refunded, so payment_status becomes REFUNDED. payment_status itself is derived from the tenders.
The fulfillment next-states restriction is unchanged. A workflow advance to
VOIDED stays refused when VOIDED is not among the current node’s next
states. Cancel selects VOIDED or REVERSED from the capture check above.Path parameters
Request
No body. The order id is the path parameter.Response
Returns200 with the cancelled order in data.